package com.gaattc.service;

import com.gaattc.model.bo.*;
import com.gaattc.model.vo.OrderVO;
import com.gaattc.model.vo.OrdersByStateVO;

import java.util.List;
import java.util.Map;

public interface OrderService {


    Map<String, Object> ordersByPage(OrdersByPageBO ordersByPageBO);

    int deleteOrder(int id);

    OrderVO order(int id);

    void changeOrder(ChangeOrderBO changeOrderBO);

    void addOrder(AddOrderBO addOrderBO);

    List<OrdersByStateVO> getOrderByState(int state, String token);

    int settleAccounts(List<CartAccountsBO> cartList);

    void confirmReceive(int id);

    void sendComment(SendCommentBO sendCommentBO);
}
